package cn.kmsoft.stgeometry.constant;

public enum SpatialRelType {
    SPATIAL_REL_CONTAINS("st_contains"),
    SPATIAL_REL_CROSSES("st_crosses"),
    SPATIAL_REL_INTERSECTS("st_intersects"),
    SPATIAL_REL_OVERLAPS("st_overlaps"),
    SPATIAL_REL_TOUCHES("st_touches"),
    SPATIAL_REL_WITHIN("st_within");
    private String relation = "st_intersects";

    SpatialRelType(String realation) {
        this.setRelation(realation);
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }
}
